﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyNhaSach.Report
{
    public partial class frmRP_BC_XuatNhapTon : Form
    {
        public frmRP_BC_XuatNhapTon()
        {
            InitializeComponent();
        }
        public DateTime TuNgay;
        public DateTime DenNgay;
        public string MaKho;
        public string MaMH;
        private void frmRP_BC_XuatNhapTon_Load(object sender, EventArgs e)
        {
            RP_BC_XuatNhapTon xuatnhapton = new RP_BC_XuatNhapTon();

            xuatnhapton.SetParameterValue("@TuNgay", TuNgay);
            xuatnhapton.SetParameterValue("@DenNgay", DenNgay);
            xuatnhapton.SetParameterValue("@MaKho", MaKho);
            xuatnhapton.SetParameterValue("@MaMH", MaMH);
            crystalReportViewer1.ReportSource = xuatnhapton;
            crystalReportViewer1.Refresh();
        }
    }
}
